package ldh.im.dto;

import io.netty.buffer.ByteBuf;

public class DtoData {

    private short coder;
    private ByteBuf byteBuf;

    public DtoData() {}

    public DtoData(short coder, ByteBuf byteBuf) {
        this.coder = coder;
        this.byteBuf = byteBuf;
    }

    public short getCoder() {
        return coder;
    }

    public void setCoder(short coder) {
        this.coder = coder;
    }

    public ByteBuf getByteBuf() {
        return byteBuf;
    }

    public void setByteBuf(ByteBuf byteBuf) {
        this.byteBuf = byteBuf;
    }
}
